Optimal. Leaf size=64 \[ \frac{a \log (c+d x)}{d}+\frac{b \text{Chi}\left (x f+\frac{c f}{d}\right ) \sinh \left (e-\frac{c f}{d}\right )}{d}+\frac{b \cosh \left (e-\frac{c f}{d}\right ) \text{Shi}\left (x f+\frac{c f}{d}\right )}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.124337, antiderivative size = 64, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.222, Rules used = {3317, 3303, 3298, 3301} \[ \frac{a \log (c+d x)}{d}+\frac{b \text{Chi}\left (x f+\frac{c f}{d}\right ) \sinh \left (e-\frac{c f}{d}\right )}{d}+\frac{b \cosh \left (e-\frac{c f}{d}\right ) \text{Shi}\left (x f+\frac{c f}{d}\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3317
Rule 3303
Rule 3298
Rule 3301
Rubi steps
\begin{align*} \int \frac{a+b \sinh (e+f x)}{c+d x} \, dx &=\int \left (\frac{a}{c+d x}+\frac{b \sinh (e+f x)}{c+d x}\right ) \, dx\\ &=\frac{a \log (c+d x)}{d}+b \int \frac{\sinh (e+f x)}{c+d x} \, dx\\ &=\frac{a \log (c+d x)}{d}+\left (b \cosh \left (e-\frac{c f}{d}\right )\right ) \int \frac{\sinh \left (\frac{c f}{d}+f x\right )}{c+d x} \, dx+\left (b \sinh \left (e-\frac{c f}{d}\right )\right ) \int \frac{\cosh \left (\frac{c f}{d}+f x\right )}{c+d x} \, dx\\ &=\frac{a \log (c+d x)}{d}+\frac{b \text{Chi}\left (\frac{c f}{d}+f x\right ) \sinh \left (e-\frac{c f}{d}\right )}{d}+\frac{b \cosh \left (e-\frac{c f}{d}\right ) \text{Shi}\left (\frac{c f}{d}+f x\right )}{d}\\ \end{align*}
Mathematica [A] time = 0.144335, size = 57, normalized size = 0.89 \[ \frac{a \log (c+d x)+b \text{Chi}\left (f \left (\frac{c}{d}+x\right )\right ) \sinh \left (e-\frac{c f}{d}\right )+b \cosh \left (e-\frac{c f}{d}\right ) \text{Shi}\left (f \left (\frac{c}{d}+x\right )\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.023, size = 94, normalized size = 1.5 \begin{align*}{\frac{a\ln \left ( dx+c \right ) }{d}}+{\frac{b}{2\,d}{{\rm e}^{{\frac{cf-de}{d}}}}{\it Ei} \left ( 1,fx+e+{\frac{cf-de}{d}} \right ) }-{\frac{b}{2\,d}{{\rm e}^{-{\frac{cf-de}{d}}}}{\it Ei} \left ( 1,-fx-e-{\frac{cf-de}{d}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.42502, size = 96, normalized size = 1.5 \begin{align*} \frac{1}{2} \, b{\left (\frac{e^{\left (-e + \frac{c f}{d}\right )} E_{1}\left (\frac{{\left (d x + c\right )} f}{d}\right )}{d} - \frac{e^{\left (e - \frac{c f}{d}\right )} E_{1}\left (-\frac{{\left (d x + c\right )} f}{d}\right )}{d}\right )} + \frac{a \log \left (d x + c\right )}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.4936, size = 230, normalized size = 3.59 \begin{align*} \frac{{\left (b{\rm Ei}\left (\frac{d f x + c f}{d}\right ) - b{\rm Ei}\left (-\frac{d f x + c f}{d}\right )\right )} \cosh \left (-\frac{d e - c f}{d}\right ) + 2 \, a \log \left (d x + c\right ) -{\left (b{\rm Ei}\left (\frac{d f x + c f}{d}\right ) + b{\rm Ei}\left (-\frac{d f x + c f}{d}\right )\right )} \sinh \left (-\frac{d e - c f}{d}\right )}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{a + b \sinh{\left (e + f x \right )}}{c + d x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.24907, size = 95, normalized size = 1.48 \begin{align*} -\frac{b{\rm Ei}\left (-\frac{d f x + c f}{d}\right ) e^{\left (\frac{c f}{d} - e\right )} - b{\rm Ei}\left (\frac{d f x + c f}{d}\right ) e^{\left (-\frac{c f}{d} + e\right )} - 2 \, a \log \left (d x + c\right )}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]